package com.itheima.edu.info.managers.controller;

import com.itheima.edu.info.managers.domain.Student;
import com.itheima.edu.info.managers.service.StudentService;

import java.util.Scanner;

public class OtherStudentController extends BaseStudentController{
        Scanner sc=new Scanner(System.in);
    public Student inputStudentInfo(String id) {
        System.out.println("请输入学生的姓名");
        String name = sc.next();
        System.out.println("请输入学生的年龄");
        String age = sc.next();
        System.out.println("请输入学生的生日");
        String birthday = sc.next();
        Student stu = new Student(id,name,age,birthday);

        return stu;
    }


}
